<!DOCTYPE html>
<html>
<head>
    <title>练习浮动float</title>
    <meta charset="utf-8"/>
    <style>
        *{
            padding:0;
            margin:0;
        }
        .news{
            height:220px;
            width:1000px;
            margin:50px auto;
            border:2px dashed red;
        }
        .left{
            width:720px;
            height:220px;
            background-color:#edeaf1;
            float: left;
        }
        .right{
            width:250px;
            height:220px;
            margin-left:30px;
            background-color:#edeaf1;
            float: left;
        }
        .mo{
            width:330px;
            height:80px;
            margin:20px 15px 0px 15px;
            background-color:#b5a2c8;
            float: left;
        }
        .ro{
            width:230px;
            height:60px;
            margin:10px 10px 0px 10px;
            background-color:#b5a2c8;
        }
    </style>
</head>
<body>
    <div class="news">
        <div class="left">
            <div class="mo">内容1</div>
            <div class="mo">内容2</div>
            <div class="mo">内容3</div>
            <div class="mo">内容4</div>
        </div>
        <div class="right">
            <div class="ro">内容1</div>
            <div class="ro">内容2</div>
            <div class="ro">内容3</div>
        </div>
    </div>
</body>
</html>
